<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class MVC</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class MVC</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MVC Class</p>
<p class="description"><p>A http response class</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jeroen Simons &lt;<a href="mailto:jeroen@melange.nl">jeroen@melange.nl</a>&gt;</li>
				<li><span class="field">copyright:</span> Copyright (c) 2007 Jeroen Simons. All rights reserved</li>
				<li><span class="field">link:</span> <a href="http://www.melange.nl/">http://www.melange.nl/</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_mvc---MVC.php.html">/mvc/MVC.php</a> (line <span class="field">43</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#CANCEL_KEY" title="details" class="const-name">CANCEL_KEY</a> = 					<span class="var-type"> &quot;nl_melange_phpmvc_action_CANCEL_KEY&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#ERROR_KEY" title="details" class="const-name">ERROR_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.ACTION_ERROR&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#EXCEPTION_ATTR" title="details" class="const-name">EXCEPTION_ATTR</a> = 					<span class="var-type"> &quot;javax.servlet.error.exception&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#EXCEPTION_KEY" title="details" class="const-name">EXCEPTION_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.EXCEPTION&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#FORM_KEY" title="details" class="const-name">FORM_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.form.instance&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#LOCALE_KEY" title="details" class="const-name">LOCALE_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.LOCALE&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MAPPING_KEY" title="details" class="const-name">MAPPING_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.mapping.instance&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MESSAGES_KEY" title="details" class="const-name">MESSAGES_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.MESSAGE&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MESSAGE_KEY" title="details" class="const-name">MESSAGE_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.ACTION_MESSAGE&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MODULE_KEY" title="details" class="const-name">MODULE_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.MODULE&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MODULE_PREFIXES_KEY" title="details" class="const-name">MODULE_PREFIXES_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.globals.MODULE_PREFIXES&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#MVC_KEY" title="details" class="const-name">MVC_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.MVC&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TOKEN_KEY" title="details" class="const-name">TOKEN_KEY</a> = 					<span class="var-type"> &quot;nl_melange_phpmvc_action_TOKEN&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TRANSACTION_TOKEN_KEY" title="details" class="const-name">TRANSACTION_TOKEN_KEY</a> = 					<span class="var-type"> &quot;nl.melange.phpmvc.action.TOKEN&quot;</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																												
												<div class="method-definition">
											<span class="method-result">MVC</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$application</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addHelperPath" title="details" class="method-name">addHelperPath</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$classPrefix</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addModuleConfig" title="details" class="method-name">addModuleConfig</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addViewPath" title="details" class="method-name">addViewPath</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../http/Context.html">Context</a></span>
										<a href="#getApplicationContext" title="details" class="method-name">getApplicationContext</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">unknown</span>
										<a href="#getModuleName" title="details" class="method-name">getModuleName</a>
											(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$matchPath</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
										<a href="#getMultiModuleConfig" title="details" class="method-name">getMultiModuleConfig</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initHelpers" title="details" class="method-name">initHelpers</a>
											(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">&$moduleConfig</span>, <span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$moduleConfig</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initModuleMessageResources" title="details" class="method-name">initModuleMessageResources</a>
											(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$config</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initModulePrefixes" title="details" class="method-name">initModulePrefixes</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initView" title="details" class="method-name">initView</a>
											(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">&$moduleConfig</span>, <span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$moduleConfig</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#process" title="details" class="method-name">process</a>
											(<span class="var-type"><a href="../http/Request.html">Request</a></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"><a href="../http/Response.html">Response</a></span>&nbsp;<span class="var-name">$response</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
										<a href="#selectModule" title="details" class="method-name">selectModule</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setViewPath" title="details" class="method-name">setViewPath</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">194</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Construct new Model View Controller</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">MVC</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$application</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../http/Context.html">Context</a></span>
				<span class="var-name">$application</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddHelperPath" id="addHelperPath"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addHelperPath</span> (line <span class="line-number">299</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addHelperPath
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$classPrefix</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$classPrefix</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddModuleConfig" id="addModuleConfig"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">addModuleConfig</span> (line <span class="line-number">257</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a moduleConfig</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addModuleConfig
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$prefix</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddViewPath" id="addViewPath"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addViewPath</span> (line <span class="line-number">290</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a view path</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addViewPath
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetApplicationContext" id="getApplicationContext"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getApplicationContext</span> (line <span class="line-number">215</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the context of webapp</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../http/Context.html">Context</a></span>
		<span class="method-name">
			getApplicationContext
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetModuleName" id="getModuleName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getModuleName</span> (line <span class="line-number">460</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enter description here...</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">unknown</span>
		<span class="method-name">
			getModuleName
		</span>
					(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$matchPath</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$matchPath</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetMultiModuleConfig" id="getMultiModuleConfig"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getMultiModuleConfig</span> (line <span class="line-number">400</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get merged moduleConfigs from different locations.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
		<span class="method-name">
			getMultiModuleConfig
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">227</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize this servlet.  Most of the processing has been factored  into support methods so that you can override particular functionality  at a fairly granular level.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> ServletException if we cannot configure ourselves correctly</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodinitHelpers" id="initHelpers"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">initHelpers</span> (line <span class="line-number">359</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize the Zend View Helpers</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			initHelpers
		</span>
					(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">&$moduleConfig</span>, <span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$moduleConfig</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
				<span class="var-name">$moduleConfig</span>			</li>
					<li>
				<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
				<span class="var-name">&$moduleConfig</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinitModuleMessageResources" id="initModuleMessageResources"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">initModuleMessageResources</span> (line <span class="line-number">506</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">&lt;p&gt;Initialize the application <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/MessageResources.html">MessageResources</a></span></div></li>
</ol></div> for the  specified module.&lt;/p&gt;</p>
	<ul class="tags">
				<li><span class="field">throws:</span> ServletException if initialization cannot be performed</li>
				<li><span class="field">since:</span> Struts 1.1</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			initModuleMessageResources
		</span>
					(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$config</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">config</span>
				<span class="var-name">$config</span><span class="var-description">: ModuleConfig information for this module</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinitModulePrefixes" id="initModulePrefixes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">initModulePrefixes</span> (line <span class="line-number">268</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize the module prefixes</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			initModulePrefixes
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$prefix</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$prefix</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinitView" id="initView"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">initView</span> (line <span class="line-number">342</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize Zend View</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			initView
		</span>
					(<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">&$moduleConfig</span>, <span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>&nbsp;<span class="var-name">$moduleConfig</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
				<span class="var-name">$moduleConfig</span>			</li>
					<li>
				<span class="var-type"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
				<span class="var-name">&$moduleConfig</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprocess" id="process"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">process</span> (line <span class="line-number">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Process the request</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			process
		</span>
					(<span class="var-type"><a href="../http/Request.html">Request</a></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"><a href="../http/Response.html">Response</a></span>&nbsp;<span class="var-name">$response</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../http/Request.html">Request</a></span>
				<span class="var-name">$request</span>			</li>
					<li>
				<span class="var-type"><a href="../http/Response.html">Response</a></span>
				<span class="var-name">$response</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselectModule" id="selectModule"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">selectModule</span> (line <span class="line-number">376</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select the module using request-&gt;pathInfo.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception when no module config file is found</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span>
		<span class="method-name">
			selectModule
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../http/Request.html">Request</a></span>
				<span class="var-name">$request</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetViewPath" id="setViewPath"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setViewPath</span> (line <span class="line-number">280</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setViewPath
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$path</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constCANCEL_KEY" id="CANCEL_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">CANCEL_KEY</span>
			 = <span class="const-default"> &quot;nl_melange_phpmvc_action_CANCEL_KEY&quot;</span>
			(line <span class="line-number">73</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constERROR_KEY" id="ERROR_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">ERROR_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.ACTION_ERROR&quot;</span>
			(line <span class="line-number">118</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attributes key under which your action should store an  <div class="src-code"><ol><li><div class="src-line"><span class="src-id">org</span>.<span class="src-id">apache</span>.<span class="src-id">struts</span>.<span class="src-id">action</span>.<span class="src-id">ActionErrors</span></div></li>
</ol></div> object, if you are  using the corresponding custom tag library elements.</p>
	
	
</div>
<a name="constEXCEPTION_ATTR" id="EXCEPTION_ATTR"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">EXCEPTION_ATTR</span>
			 = <span class="const-default"> &quot;javax.servlet.error.exception&quot;</span>
			(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attribute under which we forward a Java exception  (as an object of type Throwable) to an error page.</p>
	
	
</div>
<a name="constEXCEPTION_KEY" id="EXCEPTION_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">EXCEPTION_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.EXCEPTION&quot;</span>
			(line <span class="line-number">70</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attributes key under which Struts custom tags might store a  <div class="src-code"><ol><li><div class="src-line"><span class="src-id">Throwable</span></div></li>
</ol></div> that caused them to report a JspException at  runtime.  This value can be used on an error page to provide more  detailed information about what really went wrong.</p>
	
	
</div>
<a name="constFORM_KEY" id="FORM_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">FORM_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.form.instance&quot;</span>
			(line <span class="line-number">131</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attributes key under which our <div class="src-code"><ol><li><div class="src-line"><span class="src-id">org</span>.<span class="src-id">apache</span>.<span class="src-id">struts</span>.<span class="src-id">ActionMapping</span></div></li>
</ol></div>  instance is passed.</p>
	
	
</div>
<a name="constLOCALE_KEY" id="LOCALE_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">LOCALE_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.LOCALE&quot;</span>
			(line <span class="line-number">153</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The session attributes key under which the user's selected</p>
<p class="description"><p><div class="src-code"><ol><li><div class="src-line"><span class="src-id">java</span>.<span class="src-id">util</span>.<span class="src-id"><a href="../http/Locale.html">Locale</a></span></div></li>
</ol></div> is stored, if any.  If no such attribute  is found, the system default locale will be used when retrieving  internationalized messages.  If used, this attribute is typically set  during user login processing.</p></p>
	
	
</div>
<a name="constMAPPING_KEY" id="MAPPING_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MAPPING_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.mapping.instance&quot;</span>
			(line <span class="line-number">124</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attributes key under which our <div class="src-code"><ol><li><div class="src-line"><span class="src-id">org</span>.<span class="src-id">apache</span>.<span class="src-id">struts</span>.<span class="src-id">ActionMapping</span></div></li>
</ol></div>  instance is passed.</p>
	
	
</div>
<a name="constMESSAGES_KEY" id="MESSAGES_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MESSAGES_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.MESSAGE&quot;</span>
			(line <span class="line-number">144</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">&lt;p&gt;The base of the context attributes key under which our module</p>
<p class="description"><p><div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/MessageResources.html">MessageResources</a></span></div></li>
</ol></div> will be stored.  This will be suffixed  with the actual module prefix (including the leading &quot;/&quot; character) to  form the actual resources key.&lt;/p&gt;</p><p>&lt;p&gt;For each request processed by the controller servlet, the  <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/MessageResources.html">MessageResources</a></span></div></li>
</ol></div> object for the module selected by the  request URI currently being processed will also be exposed under this  key as a request attribute.&lt;/p&gt;</p></p>
	
	
</div>
<a name="constMESSAGE_KEY" id="MESSAGE_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MESSAGE_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.ACTION_MESSAGE&quot;</span>
			(line <span class="line-number">111</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request attributes key under which your action should store an  <div class="src-code"><ol><li><div class="src-line"><span class="src-id">org</span>.<span class="src-id">apache</span>.<span class="src-id">struts</span>.<span class="src-id">action</span>.<span class="src-id"><a href="../mvc/ActionMessages.html">ActionMessages</a></span></div></li>
</ol></div> object, if you are  using the corresponding custom tag library elements.</p>
	<ul class="tags">
				<li><span class="field">since:</span> Struts 1.1</li>
			</ul>
	
	
</div>
<a name="constMODULE_KEY" id="MODULE_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MODULE_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.MODULE&quot;</span>
			(line <span class="line-number">95</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">&lt;p&gt;The base of the context attributes key under which our</p>
<p class="description"><p><div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span></div></li>
</ol></div> data structure will be stored.  This will be  suffixed with the actual module prefix (including the leading &quot;/&quot;  character) to form the actual attributes key.&lt;/p&gt;</p><p>&lt;p&gt;For each request processed by the controller servlet, the  <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/ModuleConfig.html">ModuleConfig</a></span></div></li>
</ol></div> object for the module selected by the request  URI currently being processed will also be exposed under this key as a  request attribute.&lt;/p&gt;</p></p>
	<ul class="tags">
				<li><span class="field">since:</span> Struts 1.1</li>
			</ul>
	
	
</div>
<a name="constMODULE_PREFIXES_KEY" id="MODULE_PREFIXES_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MODULE_PREFIXES_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.globals.MODULE_PREFIXES&quot;</span>
			(line <span class="line-number">102</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The ServletContext attribute under which we store the module prefixes  String[].</p>
	
	
</div>
<a name="constMVC_KEY" id="MVC_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">MVC_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.MVC&quot;</span>
			(line <span class="line-number">80</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The context attributes key under which our <div class="src-code"><ol><li><div class="src-line"><span class="src-id">ActionServlet</span></div></li>
</ol></div>  instance will be stored.</p>
	
	
</div>
<a name="constTOKEN_KEY" id="TOKEN_KEY"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TOKEN_KEY</span>
			 = <span class="const-default"> &quot;nl_melange_phpmvc_action_TOKEN&quot;</span>
			(line <span class="line-number">166</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The property under which a transaction token is reported.</p>
	
	
</div>
<a name="constTRANSACTION_TOKEN_KEY" id="TRANSACTION_TOKEN_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TRANSACTION_TOKEN_KEY</span>
			 = <span class="const-default"> &quot;nl.melange.phpmvc.action.TOKEN&quot;</span>
			(line <span class="line-number">160</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The session attributes key under which our transaction token is stored,  if it is used.</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Sun, 10 Feb 2008 15:16:17 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>